/*
 * ConceptualRental.java
 *
 * Created on March 28, 2007, 9:49 AM
 *
 */

package edu.byu.isys413.samlam;

/**
 * Conceptual Rental
 * @author Nick
 */
public class ConceptualRental extends Conceptual{
    
    //the cost per day of rentals
    private double pricePerDay;
    //the cost to replace an item
    private double replacementPrice;
    //the maximum number of times a product may be rented
    private int maxTimesRented;
    //the cost of late fee per day after the due date
    private double lateFeePerDay;
    
    /**
     * Creates a new instance of Backup
     * @param id id
     */
    public ConceptualRental(String id) {
        super(id);
    }

    /**
     * get Price per day
     * @return get price per day
     */
    public double getPricePerDay() {
        return pricePerDay;
    }

    /**
     * set price per day
     * @param pricePerDay price per day
     */
    public void setPricePerDay(double pricePerDay) {
        this.pricePerDay = pricePerDay;
    }

    /**
     * get replacement price
     * @return get replacement price
     */
    public double getReplacementPrice() {
        return replacementPrice;
    }

    /**
     * set replacement price
     * @param replacementPrice set replacement price
     */
    public void setReplacementPrice(double replacementPrice) {
        this.replacementPrice = replacementPrice;
    }

    /**
     * get max tiems rented
     * @return get max tiems rented
     */
    public int getMaxTimesRented() {
        return maxTimesRented;
    }

    /**
     * set max times rented
     * @param maxTimesRented set max times rented
     */
    public void setMaxTimesRented(int maxTimesRented) {
        this.maxTimesRented = maxTimesRented;
    }

    /**
     * get late fee per day
     * @return get late fee per day
     */
    public double getLateFeePerDay() {
        return lateFeePerDay;
    }

    /**
     * set late fee per day
     * @param lateFeePerDay set late fee per day
     */
    public void setLateFeePerDay(double lateFeePerDay) {
        this.lateFeePerDay = lateFeePerDay;
    }
}
